package com.mc.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

import com.mc.model.Path;
import com.mc.utils.PathUtil;

@Controller
@RequestMapping("/rcpy")
public class RcpyAction {

	private Path path = null;
	/**
	 * 本科教育
	 * @param modelMap
	 * @return
	 */
	@RequestMapping("/bkpy")
	public String bkpy(ModelMap modelMap)
	{
		path = PathUtil.setPathParams(new String[]{"PackageName:RencaiPeiyang","ViewName:bkjy","ViewTitle:本科培养","smenu:rcpy","mmenu:bkpy"});				
		return PathUtil.returnStr(path, modelMap);
	}
	/**
	 * 研究生教育
	 * @param modelMap
	 * @return
	 */
	@RequestMapping("/yjspy")
	public String yjspy(ModelMap modelMap)
	{
		path = PathUtil.setPathParams(new String[]{"PackageName:RencaiPeiyang","ViewName:yjsjy","ViewTitle:研究生培养","smenu:rcpy","mmenu:yjspy"});				
		return PathUtil.returnStr(path, modelMap);
	}
	/**
	 * 学科建设
	 * @param modelMap
	 * @return
	 */
	@RequestMapping("/xkjs")
	public String xkjs(ModelMap modelMap)
	{
		path = PathUtil.setPathParams(new String[]{"PackageName:RencaiPeiyang","ViewName:xuekejianshe","ViewTitle:学科建设","smenu:rcpy","mmenu:xkjs"});				
		return PathUtil.returnStr(path, modelMap);
	}
}
